package cn.silver.module.web.model;

import cn.silver.module.authority.bean.TenantBean;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 登录租户对象
 *
 * @author Silver Zhou
 */
@Data
@NoArgsConstructor
@Schema(name = "AuthTenantModel", title = "认证租户信息")
public class AuthTenantModel {

    /**
     * 租户开关
     */
    @Schema(title = "租户访问开关")
    private Boolean enabled;

    /**
     * 租户对象列表
     */
    @Schema(title = "租户信息对象")
    private List<TenantBean> dicts;

}
